package fem2.gui.actions;

import inf.vtk.pm.PipelineCollection;

import java.awt.event.ActionEvent;

import javax.swing.Action;
import javax.swing.KeyStroke;

public class ExitAction extends ActionBase {

    private static final long serialVersionUID = 1L;

    public ExitAction(PipelineCollection pc) {
        super("Exit", pc);
        putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke("alt F4"));
    }

    public void actionPerformed(ActionEvent al) {
        System.exit(0);
    }
}